﻿<Page x:Class="PTCScheduler.ViewBy_TeacherPage"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
      d:DesignHeight="480" d:DesignWidth="825"
	Title="Search Teacher">

    <Grid Background="#422D9DCF">
        <Label Content="Teacher Name: " Height="34" HorizontalAlignment="Left" Margin="31,23,0,0" Name="firstNamelbl" VerticalAlignment="Top" Width="109" Style="{StaticResource LabelStyle}" />
        <DataGrid Focusable="True" HorizontalAlignment="Stretch" Margin="12,63,27,27" Name="dataGridTeacher" VerticalAlignment="Stretch" ItemsSource="{Binding}" Style="{StaticResource DataGridViewStyle}">
            
        </DataGrid>
        <Button Focusable="False" Content="Search" HorizontalAlignment="Left" Margin="337,18,0,0" Name="searchbyteacherbtn" VerticalAlignment="Top" Style="{StaticResource ButtonStyle}" IsEnabled="True" Click="searchbyteacherbtn_Click" />
        <ComboBox IsEditable="True" Height="23" HorizontalAlignment="Left" Margin="146,23,0,0" 
                  Name="teachercomboBox" VerticalAlignment="Top" Width="169" SelectedValuePath="Content" AlternationCount="1"
                  MouseEnter="teachercomboBox_MouseEnter" />
        <Label Content="No conferences scheduled for teacher were found." Height="28" HorizontalAlignment="Left" Margin="31,116,0,0" Name="teachernoconferenceslbl" VerticalAlignment="Top" Style="{StaticResource LabelStyle}" Visibility="Hidden" />
        <Label Content="Please enter a valid name (,)." Height="35" HorizontalAlignment="Left" Margin="457,21,0,0" Name="teacherwarninglbl" VerticalAlignment="Top" Style="{StaticResource LabelStyle}" Foreground="Red" Visibility="Hidden" Width="298"/>
        <Button Background="White" BorderBrush="#FF2D9DCF" Height="35" HorizontalAlignment="Right" Margin="0,18,90,0" Name="btnExport" VerticalAlignment="Top" Width="50" Click="btnExport_Click">
            <Image Source="/PTCScheduler_Software_Engineering;component/Images/export.jpg" />
        </Button>
        <Button Background="White" BorderBrush="#FF2D9DCF" Height="35" HorizontalAlignment="Right" Margin="0,18,30,0" Name="btnPrint" VerticalAlignment="Top" Width="49" Click="btnPrint_Click">
            <Image Source="/PTCScheduler_Software_Engineering;component/Images/print.png" />
        </Button>
    </Grid>
</Page>
